package com.TestDemo.TempTest;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/11/18/8:51
 * @Description:
 * @Target: 判断表达式处理完是不是整数
 */
public class IsIntTest {


    public static void main(String[] args) {
        System.out.println(DivInt(1,3));
    }

    // 两Int除法判断
    public static boolean DivInt(int a,int b){
        boolean temp = false;
        if (((double)a)/b==a/b){
            temp = true;
        }

        return temp;
    }
}
